Optimal. Leaf size=294 \[ \frac {15}{64} b^2 d x \sqrt {d+c^2 d x^2}+\frac {1}{32} b^2 d x \left (1+c^2 x^2\right ) \sqrt {d+c^2 d x^2}-\frac {9 b^2 d \sqrt {d+c^2 d x^2} \sinh ^{-1}(c x)}{64 c \sqrt {1+c^2 x^2}}-\frac {3 b c d x^2 \sqrt {d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )}{8 \sqrt {1+c^2 x^2}}-\frac {b d \left (1+c^2 x^2\right )^{3/2} \sqrt {d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )}{8 c}+\frac {3}{8} d x \sqrt {d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^2+\frac {1}{4} x \left (d+c^2 d x^2\right )^{3/2} \left (a+b \sinh ^{-1}(c x)\right )^2+\frac {d \sqrt {d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^3}{8 b c \sqrt {1+c^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.18, antiderivative size = 294, normalized size of antiderivative = 1.00, number of steps
used = 10, number of rules used = 8, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.320, Rules used = {5786, 5785,
5783, 5776, 327, 221, 5798, 201} \begin {gather*} \frac {d \sqrt {c^2 d x^2+d} \left (a+b \sinh ^{-1}(c x)\right )^3}{8 b c \sqrt {c^2 x^2+1}}+\frac {1}{4} x \left (c^2 d x^2+d\right )^{3/2} \left (a+b \sinh ^{-1}(c x)\right )^2+\frac {3}{8} d x \sqrt {c^2 d x^2+d} \left (a+b \sinh ^{-1}(c x)\right )^2-\frac {b d \left (c^2 x^2+1\right )^{3/2} \sqrt {c^2 d x^2+d} \left (a+b \sinh ^{-1}(c x)\right )}{8 c}-\frac {3 b c d x^2 \sqrt {c^2 d x^2+d} \left (a+b \sinh ^{-1}(c x)\right )}{8 \sqrt {c^2 x^2+1}}+\frac {15}{64} b^2 d x \sqrt {c^2 d x^2+d}+\frac {1}{32} b^2 d x \left (c^2 x^2+1\right ) \sqrt {c^2 d x^2+d}-\frac {9 b^2 d \sqrt {c^2 d x^2+d} \sinh ^{-1}(c x)}{64 c \sqrt {c^2 x^2+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 201
Rule 221
Rule 327
Rule 5776
Rule 5783
Rule 5785
Rule 5786
Rule 5798
Rubi steps
\begin {align*} \int \left (d+c^2 d x^2\right )^{3/2} \left (a+b \sinh ^{-1}(c x)\right )^2 \, dx &=\frac {1}{4} x \left (d+c^2 d x^2\right )^{3/2} \left (a+b \sinh ^{-1}(c x)\right )^2+\frac {1}{4} (3 d) \int \sqrt {d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^2 \, dx-\frac {\left (b c d \sqrt {d+c^2 d x^2}\right ) \int x \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right ) \, dx}{2 \sqrt {1+c^2 x^2}}\\ &=-\frac {b d \left (1+c^2 x^2\right )^{3/2} \sqrt {d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )}{8 c}+\frac {3}{8} d x \sqrt {d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^2+\frac {1}{4} x \left (d+c^2 d x^2\right )^{3/2} \left (a+b \sinh ^{-1}(c x)\right )^2+\frac {\left (3 d \sqrt {d+c^2 d x^2}\right ) \int \frac {\left (a+b \sinh ^{-1}(c x)\right )^2}{\sqrt {1+c^2 x^2}} \, dx}{8 \sqrt {1+c^2 x^2}}+\frac {\left (b^2 d \sqrt {d+c^2 d x^2}\right ) \int \left (1+c^2 x^2\right )^{3/2} \, dx}{8 \sqrt {1+c^2 x^2}}-\frac {\left (3 b c d \sqrt {d+c^2 d x^2}\right ) \int x \left (a+b \sinh ^{-1}(c x)\right ) \, dx}{4 \sqrt {1+c^2 x^2}}\\ &=\frac {1}{32} b^2 d x \left (1+c^2 x^2\right ) \sqrt {d+c^2 d x^2}-\frac {3 b c d x^2 \sqrt {d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )}{8 \sqrt {1+c^2 x^2}}-\frac {b d \left (1+c^2 x^2\right )^{3/2} \sqrt {d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )}{8 c}+\frac {3}{8} d x \sqrt {d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^2+\frac {1}{4} x \left (d+c^2 d x^2\right )^{3/2} \left (a+b \sinh ^{-1}(c x)\right )^2+\frac {d \sqrt {d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^3}{8 b c \sqrt {1+c^2 x^2}}+\frac {\left (3 b^2 d \sqrt {d+c^2 d x^2}\right ) \int \sqrt {1+c^2 x^2} \, dx}{32 \sqrt {1+c^2 x^2}}+\frac {\left (3 b^2 c^2 d \sqrt {d+c^2 d x^2}\right ) \int \frac {x^2}{\sqrt {1+c^2 x^2}} \, dx}{8 \sqrt {1+c^2 x^2}}\\ &=\frac {15}{64} b^2 d x \sqrt {d+c^2 d x^2}+\frac {1}{32} b^2 d x \left (1+c^2 x^2\right ) \sqrt {d+c^2 d x^2}-\frac {3 b c d x^2 \sqrt {d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )}{8 \sqrt {1+c^2 x^2}}-\frac {b d \left (1+c^2 x^2\right )^{3/2} \sqrt {d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )}{8 c}+\frac {3}{8} d x \sqrt {d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^2+\frac {1}{4} x \left (d+c^2 d x^2\right )^{3/2} \left (a+b \sinh ^{-1}(c x)\right )^2+\frac {d \sqrt {d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^3}{8 b c \sqrt {1+c^2 x^2}}+\frac {\left (3 b^2 d \sqrt {d+c^2 d x^2}\right ) \int \frac {1}{\sqrt {1+c^2 x^2}} \, dx}{64 \sqrt {1+c^2 x^2}}-\frac {\left (3 b^2 d \sqrt {d+c^2 d x^2}\right ) \int \frac {1}{\sqrt {1+c^2 x^2}} \, dx}{16 \sqrt {1+c^2 x^2}}\\ &=\frac {15}{64} b^2 d x \sqrt {d+c^2 d x^2}+\frac {1}{32} b^2 d x \left (1+c^2 x^2\right ) \sqrt {d+c^2 d x^2}-\frac {9 b^2 d \sqrt {d+c^2 d x^2} \sinh ^{-1}(c x)}{64 c \sqrt {1+c^2 x^2}}-\frac {3 b c d x^2 \sqrt {d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )}{8 \sqrt {1+c^2 x^2}}-\frac {b d \left (1+c^2 x^2\right )^{3/2} \sqrt {d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )}{8 c}+\frac {3}{8} d x \sqrt {d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^2+\frac {1}{4} x \left (d+c^2 d x^2\right )^{3/2} \left (a+b \sinh ^{-1}(c x)\right )^2+\frac {d \sqrt {d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^3}{8 b c \sqrt {1+c^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.36, size = 329, normalized size = 1.12 \begin {gather*} \frac {96 a^2 c d x \sqrt {1+c^2 x^2} \left (5+2 c^2 x^2\right ) \sqrt {d+c^2 d x^2}+288 a^2 d^{3/2} \sqrt {1+c^2 x^2} \log \left (c d x+\sqrt {d} \sqrt {d+c^2 d x^2}\right )+32 b^2 d \sqrt {d+c^2 d x^2} \left (4 \sinh ^{-1}(c x)^3-6 \sinh ^{-1}(c x) \cosh \left (2 \sinh ^{-1}(c x)\right )+\left (3+6 \sinh ^{-1}(c x)^2\right ) \sinh \left (2 \sinh ^{-1}(c x)\right )\right )-192 a b d \sqrt {d+c^2 d x^2} \left (\cosh \left (2 \sinh ^{-1}(c x)\right )-2 \sinh ^{-1}(c x) \left (\sinh ^{-1}(c x)+\sinh \left (2 \sinh ^{-1}(c x)\right )\right )\right )-12 a b d \sqrt {d+c^2 d x^2} \left (8 \sinh ^{-1}(c x)^2+\cosh \left (4 \sinh ^{-1}(c x)\right )-4 \sinh ^{-1}(c x) \sinh \left (4 \sinh ^{-1}(c x)\right )\right )-b^2 d \sqrt {d+c^2 d x^2} \left (32 \sinh ^{-1}(c x)^3+12 \sinh ^{-1}(c x) \cosh \left (4 \sinh ^{-1}(c x)\right )-3 \left (1+8 \sinh ^{-1}(c x)^2\right ) \sinh \left (4 \sinh ^{-1}(c x)\right )\right )}{768 c \sqrt {1+c^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(958\) vs.
\(2(254)=508\).
time = 1.54, size = 959, normalized size = 3.26
method | result | size |
default | \(\frac {x \left (c^{2} d \,x^{2}+d \right )^{\frac {3}{2}} a^{2}}{4}+\frac {3 a^{2} d x \sqrt {c^{2} d \,x^{2}+d}}{8}+\frac {3 a^{2} d^{2} \ln \left (\frac {x \,c^{2} d}{\sqrt {c^{2} d}}+\sqrt {c^{2} d \,x^{2}+d}\right )}{8 \sqrt {c^{2} d}}+b^{2} \left (\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \arcsinh \left (c x \right )^{3} d}{8 \sqrt {c^{2} x^{2}+1}\, c}+\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \left (8 x^{5} c^{5}+8 \sqrt {c^{2} x^{2}+1}\, x^{4} c^{4}+12 c^{3} x^{3}+8 c^{2} x^{2} \sqrt {c^{2} x^{2}+1}+4 c x +\sqrt {c^{2} x^{2}+1}\right ) \left (8 \arcsinh \left (c x \right )^{2}-4 \arcsinh \left (c x \right )+1\right ) d}{512 c \left (c^{2} x^{2}+1\right )}+\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \left (2 c^{3} x^{3}+2 c^{2} x^{2} \sqrt {c^{2} x^{2}+1}+2 c x +\sqrt {c^{2} x^{2}+1}\right ) \left (2 \arcsinh \left (c x \right )^{2}-2 \arcsinh \left (c x \right )+1\right ) d}{16 c \left (c^{2} x^{2}+1\right )}+\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \left (2 c^{3} x^{3}-2 c^{2} x^{2} \sqrt {c^{2} x^{2}+1}+2 c x -\sqrt {c^{2} x^{2}+1}\right ) \left (2 \arcsinh \left (c x \right )^{2}+2 \arcsinh \left (c x \right )+1\right ) d}{16 c \left (c^{2} x^{2}+1\right )}+\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \left (8 x^{5} c^{5}-8 \sqrt {c^{2} x^{2}+1}\, x^{4} c^{4}+12 c^{3} x^{3}-8 c^{2} x^{2} \sqrt {c^{2} x^{2}+1}+4 c x -\sqrt {c^{2} x^{2}+1}\right ) \left (8 \arcsinh \left (c x \right )^{2}+4 \arcsinh \left (c x \right )+1\right ) d}{512 c \left (c^{2} x^{2}+1\right )}\right )+2 a b \left (\frac {3 \sqrt {d \left (c^{2} x^{2}+1\right )}\, \arcsinh \left (c x \right )^{2} d}{16 \sqrt {c^{2} x^{2}+1}\, c}+\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \left (8 x^{5} c^{5}+8 \sqrt {c^{2} x^{2}+1}\, x^{4} c^{4}+12 c^{3} x^{3}+8 c^{2} x^{2} \sqrt {c^{2} x^{2}+1}+4 c x +\sqrt {c^{2} x^{2}+1}\right ) \left (-1+4 \arcsinh \left (c x \right )\right ) d}{256 c \left (c^{2} x^{2}+1\right )}+\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \left (2 c^{3} x^{3}+2 c^{2} x^{2} \sqrt {c^{2} x^{2}+1}+2 c x +\sqrt {c^{2} x^{2}+1}\right ) \left (-1+2 \arcsinh \left (c x \right )\right ) d}{16 c \left (c^{2} x^{2}+1\right )}+\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \left (2 c^{3} x^{3}-2 c^{2} x^{2} \sqrt {c^{2} x^{2}+1}+2 c x -\sqrt {c^{2} x^{2}+1}\right ) \left (1+2 \arcsinh \left (c x \right )\right ) d}{16 c \left (c^{2} x^{2}+1\right )}+\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \left (8 x^{5} c^{5}-8 \sqrt {c^{2} x^{2}+1}\, x^{4} c^{4}+12 c^{3} x^{3}-8 c^{2} x^{2} \sqrt {c^{2} x^{2}+1}+4 c x -\sqrt {c^{2} x^{2}+1}\right ) \left (1+4 \arcsinh \left (c x \right )\right ) d}{256 c \left (c^{2} x^{2}+1\right )}\right )\) | \(959\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (d \left (c^{2} x^{2} + 1\right )\right )^{\frac {3}{2}} \left (a + b \operatorname {asinh}{\left (c x \right )}\right )^{2}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int {\left (a+b\,\mathrm {asinh}\left (c\,x\right )\right )}^2\,{\left (d\,c^2\,x^2+d\right )}^{3/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________